package com.ego.product.vo.spu;

import lombok.Getter;
import lombok.Setter;

/**
 * @program: ego
 * @description: 商品属性
 * @author: KamTang
 * @create: 2022-11-22 14:48
 **/
@Setter
@Getter
public class Attr {
    /**
     * 属性ID
     */
    private Long attrId;
    /**
     * 属性名字
     */
    private String attrName;
    /**
     * 属性值
     */
    private String attrValue;

    public void build(String attrName, String attrValue) {
        this.setAttrName(attrName);
        this.setAttrValue(attrValue);
    }
}
